<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        /* 
           some 只要其中一个为true 就会返回true的
           every 方法必须所有都返回true才会返回true
           every 一假即假
           some  一真即真
        */
        let arr = [1,3,5,7,88,9,6];
        let arr1 = arr.every(function(item,index,array){
            console.log(item);
            if(item < 10){
                return true;
            }
        });
        console.log(arr1);
    /* 
        1
        3
        5
        7
        88
        false
        
    */
    </script>
</body>
</html>